package is.ejs.bahamut;

import java.util.Map;

import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemSelectedListener;

public class LoadProfileListener implements OnItemSelectedListener{
	private String profileTitle;

	public void onItemSelected(AdapterView<?> parent,
        View view, int pos, long id) {
    		profileTitle = parent.getItemAtPosition(pos).toString();
    }

    public void onNothingSelected(AdapterView parent) {
      // Do nothing.
    }

	public String getProfileTitle() {
		return profileTitle;
	}
}
